package com.java.main.controller.work;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("用户作品输入包")
public class WorkInput {


    @ApiModelProperty("作品名称")
    @NotBlank
    private String name;

    @ApiModelProperty("json数据")
    @NotBlank
    private String data;

    public String getName() {
        return name;
    }

    public String getData() {
        return data;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setData(String data) {
        this.data = data;
    }
}